Photoshop Curves, Levels & Threshold
Menu
Interactive Example